Data Management (Admin)
This guide outlines essential backend data management tasks for administrators maintaining a MAXRES Construct instance. It covers database inspection, manual backups, and migration techniques.
Overview
MAXRES Construct uses MongoDB as its primary database. Admin users may need to inspect data, manage plugins, back up systems, or migrate content between environments. These actions require elevated privileges and direct server access.
Requirements
- Administrator access to the MAXRES Construct server
- Familiarity with MongoDB, file system structures, and service control
- Experience with system-level backup and recovery processes
- MongoDB Compass
MongoDB & Compass
Database Usage
MAXRES Construct stores all user, course, and system data in a MongoDB database.
Recommended Tool
- MongoDB Compass is the preferred GUI for exploring the database
- Allows inspection of collections and documents (records)
Key Collections
| Collection Name | Description |
|---|---|
configs | System-wide configuration settings |
courseassets | Asset metadata for lessons |
coursebuilds | Build records of exported packages |
coursestructures | Structured content of lessons |
plugins | Plugin metadata and settings |
sessions | Active user session data |
tags | Asset and course tagging |
tenants | Tenant-specific configuration |
users | User accounts and role assignments |
Direct database edits should only be performed by experienced administrators. Improper changes can corrupt platform data or functionality.
Backups & Archives
Backups ensure data protection and allow for recovery in case of failure.
Manual Backup Process
- Stop Services: Stop
Mongod,Redis, and theAuthorapplication service. - Copy Database Folder: Back up the full MongoDB directory (e.g.,
C:\data\AuthorDB). - Copy Plugins Folder: Back up the
AuthorPluginsdirectory (e.g.,C:\author_db_backups\<date>\AuthorPlugins). - Restart Services: Start
Mongod,Redis, andAuthor.
Manual Restore Process
- Stop Services: Stop
Mongod,Redis, andAuthor. - Delete Current Data: Remove existing database and plugin folders.
- Restore from Backup: Copy the backed-up
AuthorDBand plugin folders (components,extensions,menu,theme) into their original paths. - Restart Services: Restart all services.
This is a high-risk, manual process. Always test your backup and restore strategy in a safe environment before using it in production. Use automation where possible.
Data Migration Between Instances
MAXRES Construct supports two approaches for transferring data from one instance to another.
Method 1: Course Export/Import
- Export individual lessons from Instance A using the
Export sourcefeature. - Import each
.zippackage into Instance B using theImport Sourcefeature.
Pros
- Granular control over transferred content
- Non-destructive to existing data
Cons
- Time-consuming for large numbers of lessons
- Does not include user accounts or system settings
- Target instance must have compatible plugins installed
Method 2: Full Backup/Restore
- Back up all data from Instance A using the manual backup method.
- Restore the data onto Instance B, overwriting its contents.
Pros
- Migrates everything: lessons, users, plugins, and configurations
Cons
- Overwrites all existing data on Instance B
- Requires downtime and careful execution
- Must ensure server compatibility between instances
By using appropriate backup and migration strategies, administrators can ensure data integrity, minimize downtime, and maintain consistency across MAXRES Construct environments.